import RoleLevels from "@/config/RoleLevels";

export default (value: number) => {
    if (value === RoleLevels.ADMIN) {
        return '管理员'
    } else if (value === RoleLevels.READ_WRITE) {
        return '可读可写'
    } else if (value === RoleLevels.READ) {
        return '只读权限'
    }
}